import request from '@/utils/request'

// export interface albumTitleModel {
//     albumDetailInfo: Object,
//     albumMetaValueInfos: string[],
//     albumPayType: number,
//     albumPayTypeUserMask: number,
//     albumRichInfo: Object,
//     albumSubVipPayType: number,
//     albumType: number,
//     albumVipPayType: number,
//     albumXimiVipPayType: number,
//     anchorId: number,
//     id?: number,
//     isSubscribe: Boolean,
//     isVipPrivileges: Boolean,
//     typeSpecData: Object,
//     userPermission?: Boolean,
//     isOriginal?: Boolean
// }

export default {
    reqAlbumTitle(id:number) {
        return request.get(`/m-revision/page/album/v2/queryAlbumPage/${id}`)
    },

    reqProgramList(id:number, size:number, asc:boolean) {
        return request.get(`/m-revision/common/album/queryAlbumTrackRecordsByPage?albumId=${id}&page=1&pageSize=${size}&asc=${asc}&countKeys=play%2Ccomment&v=1692018651710`)
    },
    reqAlbumInfo(id:number) {
        return request.get(`/m-revision/common/user/queryUserInfo/${id}?userCountKeys=follower`)
    },
    reqAnchorWork(id:number) {
        return request.get(`/m-revision/common/anchor/queryAnchorAlbumsByPage?anchorId=${id}&page=${1}&pageSize=${3}&asc=${false}`)
    },
    reqAlbumComment(id:number, size:number) {
        return request.get(`/m-revision/common/album/queryAlbumCommentsByPage?page=${1}&pageSize=${size}&albumId=${id}&v=${1692064693595}`)
    },
    reqSimilarAlbums(kw:string, page:number) {
        return request.get(`/revision/search/seo?kw=${kw}&page=${page}&rows=${6}&device=iPhone&condition=relation&spellchecker=true&core=album`)
    },
    reqGuessLike(size:number){
        return request.get(`/revision/category/v2/albums?pageNum=${1}&pageSize=${size}&sort=1`)
    }
}



